package com.woniu.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;


/**
 * @author: ljy  <br/>
 * Date: 2021/6/8:12:13  <br/>
 * Description:选课明细表实体类
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel(value = "选课明细表实体类")
public class CourseElectiveitem implements Serializable {
    @ApiModelProperty(value = "选课明细表ID")
    private Integer id ;    //              int not null,
    @ApiModelProperty(value = "用户id 学生ID ")
    private Integer userId;  //用户id 学生ID             int not null,
    @ApiModelProperty(value = "选课时间 ")
    private Date electiveTime;//  选课时间       datetime not null,
    @ApiModelProperty(value = "课程id ")
    private Integer courseId;  //   课程id        int not null,

    @ApiModelProperty(value = "学习时长")
    private Integer studyLength;  //   课程id        int not null,

    @ApiModelProperty(value = "学习进度")
    private String plannedSpeed;  //   课程id        int not null,
    @ApiModelProperty(value = "选课人姓名")
    private String userName;
    @ApiModelProperty("选课人消息")
    private String news;
    @ApiModelProperty("课程名")
    private String courseName;
//    @ApiModelProperty("课程对象")
//    private Course course;
}
